@import '../../../assets/less/base/variables.less';
@import '../../../assets/less/base/newTabPageCommom.less';

.tab {
  display: flex;
  border-bottom: 1px solid @lightBorderColor;
  .tab-item {
    height: 50px;
    width: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: @grey99;
    position: relative;
    cursor: pointer;
    &.active {
      font-size: 14px;
      color: @blue;
      font-weight: 600;
      &:after {
        content: '';
        position: absolute;
        bottom: -1px;
        height: 4px;
        width: 100%;
        left: 0;
        background: @blue;
      }
    }
  }
}

.main-content {
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.header-action {
  margin-top: 10px;
  .el-icon-circle-plus {
    margin-right: 6px;
    font-size: 17px;
  }
}

.collapse-list {
  padding-top: 10px;
  padding-bottom: 20px;
  .collapse-item:not(:last-child) {
    margin-bottom: 20px;
  }
  .collapse-top {
    padding-left: 20px;
    background: @grayF2;
    height: 48px;
    display: flex;
    justify-content: space-between;
    .left-info {
      flex: 1;
      height: 48px;
      line-height: 48px;
      font-size: 14px;
      color: @grey47;
      display: flex;
      .info-item {
        width: 173px;
        margin-right: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .action {
      display: flex;
      align-items: center;
    }
    .delItem-icon {
      height: 100%;
      width: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      .el-icon-close {
        color: @grey66;
        font-size: 16px;
      }
    }
  }
  .collapse-content {
    padding: 25px 0 25px 15px;
    border-left: 1px solid @grayD8;
    border-right: 1px solid @grayD8;
    border-bottom: 1px solid @grayD8;
  }
  .bd-item {
    padding-left: 15px;
    background: #f7f7f7;
    border-radius: 4px;
    display: flex;
    margin-bottom: 10px;
    width: 380px;
    height: 36px;
    line-height: 36px;
    .del-icon {
      height: 36px;
      width: 36px;
      display: flex;
      justify-content: center;
      align-items: center;
      .el-icon-error {
        font-size: 17px;
        color: #ccc;
        &:hover {
          color: #666;
        }
      }
    }
    .bd-content {
      flex: 1;
      display: flex;
      .right-item {
        flex: 1;
        &:nth-child(2n) {
          padding-left: 50px;
        }
      }
    }
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.show-more-icon {
  height: 100%;
  width: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  .el-icon-caret-bottom {
    font-size: 18px;
    color: @darkGrey;
    transition: transform 0.25s ease-in;
    transform-origin: center center;
    &.rotate180 {
      transform: rotate(-180deg);
    }
  }
}

.channle-list {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  height: 374px;
  overflow-y: scroll;
  padding: 10px;
}

.table-container {
  margin-top: 10px;
}

.search-box {
  margin-top: 30px;
  .el-input {
    width: 270px;
    margin-right: 20px;
  }
}
